package com.qinggeng.project.api.dto;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("购物车列表")
public class CartDto {

    //购物车ID
    private Long cartId;

    //商品名称
    private String goodsName;

    //商品图片
    private String goodsImg;

    //商品价格
    private BigDecimal goodsPrice;

    //团购价格
    private BigDecimal groupPrice;

    //商品类型
    private String goodsType;

    //商品属性
    private String attributes;

    //划线价格
    private BigDecimal linePrice;

    //商品数量
    private Integer goodsNum;

    //商品ID
    private Long goodsId;

    //分类id
    private Long classifyId;

    //商户ID
    private Long shopId;

    //库存
    private Integer keepNum;

    //销量
    private Integer saleNum;

    //商品提成百分比
    private String percent;

    //商品进价
    private BigDecimal buyPrice;

    //是否失效（1=已失效 0=未失效）
    private Boolean islose;

    private Integer limitNum;

    private Long courierId;

    //预售时间
    private Date startDate;
    //预售时间戳
    private String startDateStamp;

    private  BigDecimal  vipPrice;

}
